.class public Les/sd;
.super Les/od;
.source "WaterMarkRender.java"


# instance fields
.field private d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

.field private e:[I


# direct methods
.method public constructor <init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Les/od;-><init>(Lcom/esfile/screen/recorder/videos/edit/player/c;)V

    const/4 v0, 0x2

    new-array v0, v0, [I

    .line 2
    iput-object v0, p0, Les/sd;->e:[I

    .line 3
    new-instance v0, Les/sd$a;

    invoke-direct {v0, p0}, Les/sd$a;-><init>(Les/sd;)V

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c$q;)V

    return-void
.end method

.method static synthetic a(Les/sd;)[I
    .locals 0

    .line 1
    iget-object p0, p0, Les/sd;->e:[I

    return-object p0
.end method

.method static synthetic b(Les/sd;)Lcom/esfile/screen/recorder/videos/edit/ui/c;
    .locals 0

    .line 1
    iget-object p0, p0, Les/sd;->d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

    return-object p0
.end method


# virtual methods
.method protected a(Les/cd;)V
    .locals 3

    .line 2
    iget-boolean v0, p0, Les/od;->c:Z

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object p1, p1, Les/cd;->j:Les/cd$u;

    if-eqz p1, :cond_2

    iget-boolean p1, p1, Les/cd$u;->a:Z

    if-eqz p1, :cond_2

    .line 4
    new-instance p1, Lcom/esfile/screen/recorder/videos/edit/ui/c;

    iget-object v0, p0, Les/od;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/c;-><init>(Landroid/content/Context;)V

    iput-object p1, p0, Les/sd;->d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

    const/4 v0, 0x0

    .line 5
    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/ui/c;->a(Z)V

    .line 6
    iget-object p1, p0, Les/sd;->e:[I

    aget v1, p1, v0

    if-lez v1, :cond_1

    const/4 v1, 0x1

    aget v2, p1, v1

    if-lez v2, :cond_1

    .line 7
    iget-object v2, p0, Les/sd;->d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

    aget v0, p1, v0

    aget p1, p1, v1

    invoke-virtual {v2, v0, p1}, Lcom/esfile/screen/recorder/videos/edit/ui/c;->a(II)V

    .line 8
    :cond_1
    iget-object p1, p0, Les/od;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    iget-object v0, p0, Les/sd;->d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Landroid/view/View;)V

    goto :goto_0

    .line 9
    :cond_2
    iget-object p1, p0, Les/sd;->d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

    if-eqz p1, :cond_3

    .line 10
    iget-object v0, p0, Les/od;->a:Lcom/esfile/screen/recorder/videos/edit/player/c;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->b(Landroid/view/View;)V

    const/4 p1, 0x0

    .line 11
    iput-object p1, p0, Les/sd;->d:Lcom/esfile/screen/recorder/videos/edit/ui/c;

    :cond_3
    :goto_0
    return-void
.end method
